package com.changfeng.dao;

import com.changfeng.bean.ReatailersCommodity;
import com.changfeng.bean.dto.vo.CommodityConfirmVO;
import com.changfeng.bean.dto.vo.CommodityListVO;
import com.changfeng.bean.dto.vo.CommodityQueryVO;

import java.util.List;
import java.util.Map;

public interface ReatailersCommodityMapper {
    int deleteByPrimaryKey(Integer commodityId);

    int insert(ReatailersCommodity record);

    int insertSelective(ReatailersCommodity record);

    ReatailersCommodity selectByPrimaryKey(Integer commodityId);

    int updateByPrimaryKeySelective(ReatailersCommodity record);

    int updateByPrimaryKey(ReatailersCommodity record);

    List<CommodityListVO> findByQuery(CommodityQueryVO queryVO);

    List<CommodityConfirmVO> selectByIds(List<Integer> ids);
}